<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="https://cdn.tailwindcss.com"></script>
    <title>TailwindCSS</title>
  </head>
  <body>
    <!-- Positioning -->
    <div class="relative w-1/2 h-12 bg-red-200">
      Parent Element
      <div class="absolute bottom-0 right-0 bg-cyan-300">Absolute Child</div>
    </div>
    <hr />
    <div class="flex">
      <!-- Top left corner -->
      <div class="relative h-32 w-32 bg-yellow-100">
        <div class="absolute top-0 left-0 h-16 w-16 bg-yellow-300"></div>
      </div>
      <!-- Top right corner -->
      <div class="relative h-32 w-32 bg-blue-100">
        <div class="absolute top-0 right-0 h-16 w-16 bg-blue-300"></div>
      </div>

      <!-- Bottom left corner -->
      <div class="relative h-32 w-32 bg-green-100">
        <div class="absolute bottom-0 left-0 h-16 w-16 bg-green-300"></div>
      </div>

      <!-- Bottom right corner -->
      <div class="relative h-32 w-32 bg-slate-100">
        <div class="absolute bottom-0 right-0 h-16 w-16 bg-slate-300"></div>
      </div>
    </div>
    <div class="flex">
      <!-- Span top edge -->
      <div class="relative h-32 w-32 bg-slate-100">
        <div class="absolute inset-x-0 h-16 bg-slate-300"></div>
      </div>
      <!-- Span left edge -->
      <div class="relative h-32 w-32 bg-green-100">
        <div class="absolute inset-y-0 w-16 bg-green-300"></div>
      </div>
      <!-- Span right edge -->
      <div class="relative h-32 w-32 bg-blue-100">
        <div class="absolute inset-y-0 right-0 w-16 bg-blue-300"></div>
      </div>
      <!-- Span bottom edge -->
      <div class="relative h-32 w-32 bg-yellow-100">
        <div class="absolute inset-x-0 bottom-0 h-16 bg-yellow-300"></div>
      </div>
    </div>
    <!-- Display Classes -->
    <div>
      Lorem ipsum dolor sit amet consectetur adipisicing elit. Autem repellendus eos cupiditate officiis,
      <span class="inline-block text-red-300">Tailwindcss is cool</span>
      fuga libero repellat dicta amet atque ratione nostrum minus adipisci. Tenetur a nulla similique dolorum nostrum
      dolorem pariatur rerum debitis quae reprehenderit
      <span class="block text-red-300">hi gays</span>
      voluptatum eaque deserunt optio explicabo mollitia magnam temporibus minus adipisci,
      <span class="hidden text-red-300">Hello</span>
      officia ab enim eius dolore! Amet tenetur, perspiciatis aliquam qui sapiente eius dolores obcaecati enim!
    </div>
    <!-- Z-Index -->
    <div class="relative h-24">
      <div class="absolute z-50 left-16 w-24 h-24 bg-red-200">1</div>
      <div class="absolute z-40 left-24 w-24 h-24 bg-orange-200">2</div>
      <div class="absolute z-30 left-32 w-24 h-24 bg-yellow-200">3</div>
      <div class="absolute z-20 left-48 w-24 h-24 bg-green-200">4</div>
    </div>
    <!-- Floats -->
    <div class="w-2/3">
      <img src="../assets/img/img1.jpg" alt="" class="h-48 w-48 float-right" />
      <p>
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptas odit fugiat quis quia eius asperiores maiores
        dolores consequuntur? Quo, reiciendis eum earum tempore eligendi praesentium officia ex iste illum voluptatibus?
      </p>
    </div>
  </body>
</html>

<!-- Position Classes
      static	    position: static;
      fixed	      position: fixed;
      absolute	  position: absolute;
      relative	  position: relative;
      sticky	    position: sticky;
    -->

<!-- Display Classes
      block	            display: block;
      inline-block	    display: inline-block;
      inline	          display: inline;
      flex	            display: flex;
      inline-flex	      display: inline-flex;
      table	            display: table;
      grid	            display: grid;
      inline-grid	      display: inline-grid;
      contents	        display: contents;
      list-item	        display: list-item;
      hidden	          display: none;
    -->

<!-- Z-Index
      z-0	    z-index: 0;
      z-10	  z-index: 10;
      z-20	  z-index: 20;
      z-30	  z-index: 30;
      z-40	  z-index: 40;
      z-50	  z-index: 50;
      z-auto	z-index: auto;
    -->

<!-- Float
      float-right	  float: right;
      float-left	  float: left;
      float-none	  float: none;
    -->
